package com.probox.common.entity.service.wechat;

import com.probox.common.entity.domain.wechat.broadcast.BroadcastShare;
import com.probox.common.entity.domain.wechat.broadcast.LiveRooms;
import com.probox.common.entity.domain.wechat.broadcast.WechatBroadcast;
import com.probox.common.entity.domain.wechat.vo.AddGoodsVo;
import com.probox.common.entity.domain.wechat.vo.QueryRoomVo;
import com.probox.common.entity.domain.wechat.vo.ResponseWechatBroadcastVo;

import java.util.List;

/**
 * @author Kite
 * @date 2021/7/9
 */
public interface WechatBroadcastService {

    public Boolean applyFor();

    public String queryPermissions();

    public boolean creatRoom(WechatBroadcast broadcast);

    public boolean deleteRoom(Integer id);

    public LiveRooms getRoomList(QueryRoomVo queryRoomVo);

    public boolean addGoods(AddGoodsVo addGoodsVo);

    public boolean updateRoom(WechatBroadcast broadcast);

    public BroadcastShare getShare(Integer roomId);

    public boolean onsale(QueryRoomVo queryRoomVo);


    public boolean deleteRoomGood(QueryRoomVo queryRoomVo);

    /**
     * 查询直播间列表
     * @param name
     * @return
     */
    List<ResponseWechatBroadcastVo> getList(String name);

    Integer getWchatBroadcastTotal(String name);
}
